package cn.tedu.personal_patient.information.dao.persist.mapper;

import cn.tedu.personal_patient.information.pojo.entity.Patient;
import cn.tedu.personal_patient.information.pojo.entity.PatientAddress;
import cn.tedu.personal_patient.information.pojo.vo.OutPatient;
import cn.tedu.personal_patient.information.pojo.vo.PatientListVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PatientMapper extends BaseMapper<Patient> {
    List<PatientListVO> list(Long userId);

    int update(Patient patient);

    List<OutPatient> listByUserId(Long userId);

}
